Optimal. Leaf size=302 \[ -\frac{e^2 (B d-A e)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^4}-\frac{e^3 (a+b x) \log (a+b x) (B d-A e)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^5}+\frac{e^3 (a+b x) (B d-A e) \log (d+e x)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^5}+\frac{e (B d-A e)}{2 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^3}-\frac{B d-A e}{3 (a+b x)^2 \sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^2}-\frac{A b-a B}{4 b (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.258353, antiderivative size = 302, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.061, Rules used = {770, 77} \[ -\frac{e^2 (B d-A e)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^4}-\frac{e^3 (a+b x) \log (a+b x) (B d-A e)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^5}+\frac{e^3 (a+b x) (B d-A e) \log (d+e x)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^5}+\frac{e (B d-A e)}{2 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^3}-\frac{B d-A e}{3 (a+b x)^2 \sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)^2}-\frac{A b-a B}{4 b (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 770
Rule 77
Rubi steps
\begin{align*} \int \frac{A+B x}{(d+e x) \left (a^2+2 a b x+b^2 x^2\right )^{5/2}} \, dx &=\frac{\left (b^4 \left (a b+b^2 x\right )\right ) \int \frac{A+B x}{\left (a b+b^2 x\right )^5 (d+e x)} \, dx}{\sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{\left (b^4 \left (a b+b^2 x\right )\right ) \int \left (\frac{A b-a B}{b^5 (b d-a e) (a+b x)^5}+\frac{B d-A e}{b^4 (b d-a e)^2 (a+b x)^4}+\frac{e (-B d+A e)}{b^4 (b d-a e)^3 (a+b x)^3}-\frac{e^2 (-B d+A e)}{b^4 (b d-a e)^4 (a+b x)^2}+\frac{e^3 (-B d+A e)}{b^4 (b d-a e)^5 (a+b x)}-\frac{e^4 (-B d+A e)}{b^5 (b d-a e)^5 (d+e x)}\right ) \, dx}{\sqrt{a^2+2 a b x+b^2 x^2}}\\ &=-\frac{e^2 (B d-A e)}{(b d-a e)^4 \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{A b-a B}{4 b (b d-a e) (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{B d-A e}{3 (b d-a e)^2 (a+b x)^2 \sqrt{a^2+2 a b x+b^2 x^2}}+\frac{e (B d-A e)}{2 (b d-a e)^3 (a+b x) \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{e^3 (B d-A e) (a+b x) \log (a+b x)}{(b d-a e)^5 \sqrt{a^2+2 a b x+b^2 x^2}}+\frac{e^3 (B d-A e) (a+b x) \log (d+e x)}{(b d-a e)^5 \sqrt{a^2+2 a b x+b^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.158602, size = 182, normalized size = 0.6 \[ \frac{12 e^2 (a+b x)^2 (b d-a e) (A e-B d)+12 e^3 (a+b x)^3 \log (a+b x) (A e-B d)+12 e^3 (a+b x)^3 (B d-A e) \log (d+e x)+\frac{3 (a B-A b) (b d-a e)^4}{b (a+b x)}-6 e (a+b x) (b d-a e)^2 (A e-B d)+4 (b d-a e)^3 (A e-B d)}{12 \left ((a+b x)^2\right )^{3/2} (b d-a e)^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.02, size = 776, normalized size = 2.6 \begin{align*}{\frac{ \left ( -48\,A{x}^{2}a{b}^{4}d{e}^{3}+3\,A{b}^{5}{d}^{4}-3\,B{a}^{5}{e}^{4}+48\,B\ln \left ( bx+a \right ){x}^{3}a{b}^{4}d{e}^{3}-48\,B\ln \left ( ex+d \right ){x}^{3}a{b}^{4}d{e}^{3}-72\,B\ln \left ( ex+d \right ){x}^{2}{a}^{2}{b}^{3}d{e}^{3}-48\,B\ln \left ( ex+d \right ) x{a}^{3}{b}^{2}d{e}^{3}-48\,A{a}^{3}{b}^{2}d{e}^{3}-10\,B{a}^{4}bd{e}^{3}+18\,B{a}^{3}{b}^{2}{d}^{2}{e}^{2}-72\,A\ln \left ( bx+a \right ){x}^{2}{a}^{2}{b}^{3}{e}^{4}-12\,B{x}^{3}a{b}^{4}d{e}^{3}+24\,Axa{b}^{4}{d}^{2}{e}^{2}-24\,Bxa{b}^{4}{d}^{3}e+48\,A\ln \left ( ex+d \right ){x}^{3}a{b}^{4}{e}^{4}+72\,A\ln \left ( ex+d \right ){x}^{2}{a}^{2}{b}^{3}{e}^{4}+48\,A\ln \left ( ex+d \right ) x{a}^{3}{b}^{2}{e}^{4}-12\,B\ln \left ( ex+d \right ){a}^{4}bd{e}^{3}-12\,B\ln \left ( ex+d \right ){x}^{4}{b}^{5}d{e}^{3}-42\,B{x}^{2}{a}^{2}{b}^{3}d{e}^{3}+48\,B{x}^{2}a{b}^{4}{d}^{2}{e}^{2}-72\,Ax{a}^{2}{b}^{3}d{e}^{3}-52\,Bx{a}^{3}{b}^{2}d{e}^{3}+72\,Bx{a}^{2}{b}^{3}{d}^{2}{e}^{2}+12\,B\ln \left ( bx+a \right ){a}^{4}bd{e}^{3}-48\,A\ln \left ( bx+a \right ) x{a}^{3}{b}^{2}{e}^{4}-48\,A\ln \left ( bx+a \right ){x}^{3}a{b}^{4}{e}^{4}+12\,B\ln \left ( bx+a \right ){x}^{4}{b}^{5}d{e}^{3}+4\,Bx{b}^{5}{d}^{4}+Ba{b}^{4}{d}^{4}+25\,A{a}^{4}b{e}^{4}+12\,A\ln \left ( ex+d \right ){x}^{4}{b}^{5}{e}^{4}+12\,A\ln \left ( ex+d \right ){a}^{4}b{e}^{4}+42\,A{x}^{2}{a}^{2}{b}^{3}{e}^{4}-12\,A\ln \left ( bx+a \right ){a}^{4}b{e}^{4}+12\,A{x}^{3}a{b}^{4}{e}^{4}-12\,A{x}^{3}{b}^{5}d{e}^{3}+12\,B{x}^{3}{b}^{5}{d}^{2}{e}^{2}+52\,Ax{a}^{3}{b}^{2}{e}^{4}-4\,Ax{b}^{5}{d}^{3}e-12\,A\ln \left ( bx+a \right ){x}^{4}{b}^{5}{e}^{4}+6\,A{x}^{2}{b}^{5}{d}^{2}{e}^{2}-6\,B{x}^{2}{b}^{5}{d}^{3}e-16\,Aa{b}^{4}{d}^{3}e-6\,{b}^{3}B{a}^{2}{d}^{3}e+36\,A{a}^{2}{b}^{3}{d}^{2}{e}^{2}+48\,B\ln \left ( bx+a \right ) x{a}^{3}{b}^{2}d{e}^{3}+72\,B\ln \left ( bx+a \right ){x}^{2}{a}^{2}{b}^{3}d{e}^{3} \right ) \left ( bx+a \right ) }{12\, \left ( ae-bd \right ) ^{5}b} \left ( \left ( bx+a \right ) ^{2} \right ) ^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.43315, size = 1932, normalized size = 6.4 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]